import request from '@/utils/request'
export default {
    //用户登录
    submitLogin(ucenterMember) {
        return request({
            url: `/educenter/member/login`,
            method: 'post',
            data: ucenterMember
        })
    },
    //根据token获取用户信息
    getLoginInfo() {
        return request({
            url: `/educenter/member/auth/getLoginInfo`,
            method: 'get',
            // headers: {'token': cookie.get('guli_token')}
        })
        //headers: {'token': cookie.get('guli_token')}
    }
}
